home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat4 / sulog.z / sulog
Encoding:
Text File  |  2002-10-03  |  2.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ssssuuuulllloooogggg((((4444))))                                                              ssssuuuulllloooogggg((((4444))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _ssss_uuuu_llll_oooo_gggg - log of all su attempts
  10.  
  11. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  12.      The _ssss_uuuu command attempts to write an entry to the file specified by SSSSUUUULLLLOOOOGGGG
  13.      in ////eeeettttcccc////ddddeeeeffffaaaauuuulllltttt////ssssuuuu (_////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_ssss_uuuu_llll_oooo_gggg by default) each time it is invoked,
  14.      regardless of outcome.  If _ssss_uuuu_llll_oooo_gggg doesn't exist, _s_u attempts to create it,
  15.      setting owner and group to that of the directory in which the file
  16.      resides (root.sys if _////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm), and mode to read/write for owner only.
  17.      (Because _s_u executes with root privileges, this operation should succeed;
  18.      if it does fail, however, subsequent invocations of _s_u will be recorded
  19.      only by other logging mechanisms selected in ////eeeettttcccc////ddddeeeeffffaaaauuuulllltttt////ssssuuuu, if any; see
  20.      _s_u(1M)).
  21.  
  22.      _ssss_uuuu_llll_oooo_gggg is an ASCII file, and each of its entries (or _r_e_c_o_r_d_s) contains 6
  23.      fields of information about a particular _s_u invocation, using a single
  24.      space character as delimiter.  Field 1 is always "SU".  Field 2 contains
  25.      the date in "mm/dd" format, with "mm" ranging from "01" to "12", "dd"
  26.      from "01 to "31".  Field 3 is the 24-hour time in "hh:mm" format, with
  27.      "hh" ranging from "01" to "23", "mm" from "00" to "59".  Field 4
  28.      indicates the outcome of the _s_u: '+' means it succeeded, '-' means it was
  29.      disallowed. Field 5 is the tty on which the _s_u executed (as determined by
  30.      _t_t_y_n_a_m_e(3C)), or "???" if the process had no controlling terminal.  Field
  31.      6 identifies the usernames involved, and has the format "olduser-
  32.      newuser", where "olduser" is the invoking username, "newuser" the
  33.      requested new username.
  34.  
  35. FFFFIIIILLLLEEEESSSS
  36.      _////_vvvv_aaaa_rrrr_////_aaaa_dddd_mmmm_////_ssss_uuuu_llll_oooo_gggg     log file
  37.      _////_eeee_tttt_cccc_////_dddd_eeee_ffff_aaaa_uuuu_llll_tttt_////_ssss_uuuu    defaults file
  38.  
  39. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  40.      _ssss_uuuu(1M), _tttt_tttt_yyyy_nnnn_aaaa_mmmm_eeee(3C)
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.